#if MSC_VER >=1000
    #pragma execution_character_set("UTF-8")
#endif

#ifndef ALBUM_H
#define ALBUM_H

#include<QString>
#include"artists.h"
class Album
{
public:
    Album();

    void setId(long id);
    void setName(QString name);
    void setArtist(Artists artists);
    void setPublishTime(long publishTime);
    void setSize(int size);
    void setCopyrightId(long cpId);
    void setStatus( int status);
    void setPicId(long pId);

    long getId()const;
    QString getName()const;
    Artists getArtist();
    long getPublishTime()const;
    int getSize()const;
    int getCopyrightId()const;
    int getStatus()const;
    long getPicId()const;

private :
    long id;
    QString name;
    Artists artist;
    long publishTime = 0;
    int size = 0 ;
    long copyrightId = 0 ;
    int status = 0 ;
    long picId = 0 ;
};

#endif // ALBUM_H
